package cn.felord.memberservice.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

@TableName("SysUserInfo")
public class SysUserInfo implements Serializable {

    private static final long serialVersionUID = -2405062729767003823L;
    @TableId(type = IdType.INPUT)
    private String userId;
    private String userName;
    private String loginPassword;
    private String email;
    private String nickName;
    private String crtTime;
    private String crtUser;
    private String updateTime;
    private String updateUser;
    private String lastLoginIp;
    private String enabled;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(String crtTime) {
        this.crtTime = crtTime;
    }

    public String getCrtUser() {
        return crtUser;
    }

    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

    @Override
    public String toString() {
        return "{" +
                "userId:" + userId +
                ", userName:" + userName +
                ", loginPassword:" + "[PROTECTED]" +
                ", email:" + email +
                ", nickName:" + nickName +
                ", crtTime:" + crtTime +
                ", crtUser:" + crtUser +
                ", updateTime:" + updateTime +
                ", updateUser:" + updateUser +
                ", lastLoginIp:" + lastLoginIp +
                ", enabled:" + enabled +
                '}';
    }
}
